import axios from 'axios'
const $http = axios.create({
  baseURL: 'http://localhost:3000',
})
export const getList = () => $http.get('/api/list').then(res => res.data)
